<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="css/eui.css">
    <style>
        body {
            font: 18px "Microsoft YaHei UI";
            margin: 0;
            padding: 0;
            /*vertical-align: center;*/

        }

        header, main, footer {
            margin: 0 !important;
            padding: 0 !important;
        }

        a {
            text-decoration: none;
            color: #333333;
        }

        #header_div1 .el-menu--horizontal > .el-menu-item, #header_div1 .el-menu--horizontal > .el-submenu .el-submenu__title {
            height: 36px;
            line-height: 36px;
        }

        #header_div1 .el-menu-item, #header_div1 .el-submenu__title {
            font-size: 12px;
        }

        .header_span_a {
            margin-right: 20px;
            margin-left: 20px;
            color: white;
            font-size: 12px;
        }

        .el-menu--horizontal > .el-menu-item.is-active {
            border-bottom: white;
        }

        #header_div2 .el-menu--horizontal > .el-menu-item {
            height: 80px;
            line-height: 80px;
        }

        #header_div2 .el-menu-item, #header_div2 .el-submenu__title {
            font-size: 18px;
            padding: 0 40px 0 0;
        }
        .el-button--primary, .el-button--warning{
            width: 172px;
            height: 46px;
            font-size: 18px;
            font-weight: bold;
            border: none;
        }
    </style>
</head>
<body>
<div id="app">
    <el-container>
        <el-header style="height: 140px;width: 1520px;overflow: hidden">
            <!-- 黑条开始 -->
            <div style="height: 36px; line-height: 36px;background-color: #392f41">
                    <span style="margin-left: 105px">
                        <a class="header_span_a" href="/">首页</a><el-divider direction="vertical"></el-divider>
                        <a class="header_span_a" href="">猎者商城</a><el-divider direction="vertical"></el-divider>
                        <a class="header_span_a" href="">猎者俱乐部</a>
                    </span>
                <div id="header_div1" style="float: right; margin-right: 120px">
                    <el-menu
                            class="el-menu-demo"
                            mode="horizontal"
                            @select="handleSelectb"
                            background-color="#392f41"
                            text-color="#fff"
                            active-text-color="#ffd04b">
                        <el-menu-item index="login.html">请登录</el-menu-item>
                        <el-menu-item index="reg.html">注册</el-menu-item>
                        <el-menu-item index="myorder">我的订单</el-menu-item>
                        <el-menu-item index="shoppingcart">购物车</el-menu-item>
                        <el-submenu index="5">
                            <template slot="title">客服</template>
                            <el-menu-item index="5-1" style="text-align: center">在线客服</el-menu-item>
                            <el-menu-item index="5-2">
                                <i class="el-icon-phone" style="color: white"></i>电话客服 : 400-000-0000
                            </el-menu-item>
                        </el-submenu>
                    </el-menu>
                </div>
            </div>
            <!-- 黑条结束 -->
            <!-- 白条开始 -->
            <div id="header_div2" style="width: 100%; background-color: white; padding-top: 10px">
                <el-row>
                    <el-col span="2">
                        <div style="height: 80px; background-image: url('imgs/ab.jpg');
                                    background-repeat: no-repeat;
                                    background-size: 80px 80px;
                                    margin-left: 20px"></div>
                    </el-col>
                    <el-col span="22">
                        <el-menu class="el-menu-demo" mode="horizontal" @select="handleSelectw"
                                 style="height: 80px; line-height: 80px; border: none"
                                 text-color="black">
                            <el-menu-item index="1">猎者商城</el-menu-item>
                            <el-menu-item index="2">组装神机</el-menu-item>
                            <el-menu-item index="3">机械键盘</el-menu-item>
                            <el-menu-item index="4">竞技鼠标</el-menu-item>
                            <el-menu-item index="5">电竞耳机</el-menu-item>
                            <el-menu-item index="6">必备硬件</el-menu-item>
                            <el-menu-item style="margin-left: 330px" index="-1">
                                <el-input size="small" @keydown.native.enter="search()" v-model="wd"
                                          placeholder="请输入关键字搜索"></el-input>
                            </el-menu-item>
                            <!--position: relative;top: 10px;left: 15px-->
                            <el-button
                                    style="float: right;background-color: rgba(0,0,0,0);border:none; position: relative; top: 24px; right: 195px"
                                    icon="el-icon-search" @click="search()"></el-button>
                        </el-menu>
                    </el-col>
                </el-row>
            </div>
            <!-- 白条结束 -->
        </el-header>
        <el-main style="margin: 100px auto 0 auto;overflow: hidden;">
            <!-- 商品详情开始 -->
            <el-row gutter="20" style="width: 1200px;margin: 0 auto;">
                <el-col span="12">
                    <el-card style="width: 550px; height: 450px">
                        <img :src="p.url" alt="" width="300px" style="padding-left: 105px">
                    </el-card>
                </el-col>
                <el-col span="12">
                    <p style="font-size: 25px; line-height: 45px;">{{p.title}}</p>
                    <el-divider></el-divider>
                    <p style="font-size: 15px; color: #999">销量: {{p.saleCount}} 浏览量: {{p.viewCount}}</p>
                    <div style="background-color: #f5f5f5; padding: 5px 20px">
                        <p style="font-size: 25px;font-weight: bold">
                            ￥{{p.price}}
                            <span style="font-size: 15px; color: #999">原价: <s>{{p.oldPrice}}</s></span>
                        </p>
                        <p>优惠促销   限时特惠,</p>
                        <p></p>
                    </div>
                    <el-button type="warning" style="background-color: #DF3033">加入购物车</el-button>
                    <el-button type="primary" style="background-color: #FC600C">立即下单</el-button>
                </el-col>
            </el-row>
            <!-- 商品详情结束 -->
        </el-main>
        <el-footer>

        </el-footer>
    </el-container>

</div>
</body>
<script src="js/vue.min.js"></script>
<!-- import JavaScript -->
<script src="js/eui.js"></script>
<script src="js/axios.min.js"></script>
<script>
    new Vue({
        el: '#app',
        data: function () {
            return {
                wd: '',
                p: {
                    title: "森马牛仔裤女宽松慢跑裤运动风2022春季新款显瘦束脚长裤复古",
                    price: 233,
                    oldPrice: 598,
                    url: "imgs/63.jpg",
                    saleCount: 2342
                }
            }
        },
        methods: {
            handleSelectb() {

            },
            handleSelectw() {

            },
            search() {

            }
        }
    })
</script>
</html>